/**
 * output package name
 */
package com.kingdee.eas.lms.enumerate;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class Results extends StringEnum
{
    public static final String YES_VALUE = "1";
    public static final String NOT_VALUE = "2";

    public static final Results yes = new Results("yes", YES_VALUE);
    public static final Results not = new Results("not", NOT_VALUE);

    /**
     * construct function
     * @param String results
     */
    private Results(String name, String results)
    {
        super(name, results);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static Results getEnum(String results)
    {
        return (Results)getEnum(Results.class, results);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(Results.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(Results.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(Results.class);
    }
}